package com.aya.aop.cycle;

import com.aya.aop.asp.AopAnnotation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.aop.framework.AopInfrastructureBean;
import org.springframework.scheduling.annotation.Async;

public class IgnoreChicken  {

    private IgnoreEgg egg;

    public IgnoreEgg getEgg() {
        return egg;
    }

    public void setEgg(IgnoreEgg egg) {
        this.egg = egg;
    }

    private static final Logger logger = LoggerFactory.getLogger(IgnoreChicken.class);
    @Async
    public void saHi() {
        logger.info("egg say hi");
    }

}
